package com.iot.redissonlock.lock;


import com.iot.redissonlock.model.LockInfo;

/**
 * 描述:
 * @author: myx
 * @date: 2018/7/13
 * Copyright © 2018-hotpot. All rights reserved.
 */
public interface Lock {
    Lock setLockInfo(LockInfo lockInfo);

    boolean acquire();

    void release();
}
